﻿using System;

namespace SevenFiveDivide
{
    class SevenFiveDivide
    {
        static void Main()
        {
            Console.Write("Enter number: ");
            int num = int.Parse(Console.ReadLine()); //Read the number
                                                     //Using of 35 is shortest way of checking divisibility of 5 and 7 in same time
            Console.WriteLine("The number can be divided by 5 and 7: {0}", num % 35 == 0 ? "YES" : "NO" ); //Print the result
        }
    }
}
